[LINUX] Avoid triggering the softlockup BUG when offline for too long.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 29 Nov 2006 12:16:59 +0000 (12:16 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 29 Nov 2006 12:16:59 +0000 (12:16 +0000)
commit74517de10474ba9cabca6ed1c68dff94b24000c1
treed717002c25f2a736a245be281598a434b81adb1e
parent536c3bc7890bae1ea9903685f0e5c4f4296f05f6
[LINUX] Avoid triggering the softlockup BUG when offline for too long.

After being offline for a long time, the softlockup  watchdog triggers
a BUG() on our faces. This is expected, as in fact, we spent more than
a fixed 10*HZ amount of time without touching the watchdog.

However, by inspecting the contents of stolen inside timer irq handler,
we can gain awareness of the fact, and do better than that.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c